Objects Reference

class mp_msg

Definition

class mp_msg
{
  public:
  DWORD type;
  DWORD from;
  char data[500];
};

Data Members

Member Type Description
type DWORD message type
from DWORD directplay player id of the message sender
data char[] the message data (up to 500 bytes)

Methods

None

Remarks

This class implements a multiplayer message. All messages must begin with type and from fields. The data field can be of any size up to 500 bytes.

See Also

directX, mp_games